package com.sinaapp.gavinzhang.ASM;

import org.objectweb.asm.MethodAdapter;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;

/**
 * Created by gavin on 15-8-27.
 */
public class AddSecurityCheckMethodAdapter extends MethodAdapter {
    public AddSecurityCheckMethodAdapter(MethodVisitor mv) {
        super(mv);
    }

    public void visitCode() {
        visitMethodInsn(Opcodes.INVOKESTATIC, "com/sinaapp/gavinzhang/ASM/SecurityChecker",
                "checkSecurity", "()V");
    }
}
